.dropdownlist {
    display: inline-block;
    color: #333;
    position: relative;
    background-color:#fff;
    border-radius:3px;
    text-align:left;
}

.dropdownlist .drop-handle {
    height: 30px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width:100%;
    display: inline-block;
    padding: 0 30px 0 12px;
    box-sizing: border-box;
    position: absolute;
    cursor: pointer;
    line-height: 30px;
    background-color:#fff;
}

.dropdownlist .drop-btn {
    background-color: #fff;
    position: absolute;
    top: -1px;
    right: -1px;
    height: 100%;
    border-radius: 0 3px 3px 0;
    width: 30px;
    border: 1px solid #ddd;
    cursor: pointer;
    box-sizing: content-box;
}

.dropdownlist .drop-btn:before {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 5px solid transparent;
    border-top-color: #4b9bed;
    top: 50%;
    left: 50%;
    margin-top: -3px;
    margin-left: -5px;
}

 ul.drop-list,
 ul.drop-list li {
    padding: 0;
    margin: 0;
}

 ul.drop-list {
    display: none;
    list-style: none;
    border: 1px solid #ddd;
    border-top: 0;
    border-radius: 0 0 3px 3px;
    background-color: #fff;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    min-width: 100px;
    z-index: 10000;
    box-sizing: border-box;
    /*margin-bottom: 10px;*/
    max-height: 300px;
    /*max-width:250px;*/
    overflow: auto;
    overflow-x:hidden;
    background-color:#fff;
    /*top:100%;*/
}

 .dropdownlist-item.active{
     background-color:#4b9bed;
     border-bottom:0;
 }
 
 .dropdownlist-item.active  .drop-item-btn{
     color:#fff;
 }

 .drop-item-btn {
        text-align: left;
    height: 24px;
    display: block;
    line-height: 24px;
    font-size: 12px;
    padding-right: 10px;
    color: #565656;
    min-width: 100%;
    white-space: nowrap;
    cursor: pointer;
    padding-left: 12px;
}

 .drop-item-btn:hover {
    background-color: #4b9bed;
    color: #fff;
    text-decoration:none;
}
 .dropdownlist-item:hover {
    background-color: #4b9bed;
}

.dropdownlist  .drop-text{
        width: 100%;
    overflow: hidden;
    white-space: nowrap;    
    text-overflow: ellipsis;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {
    *height: 1%;
}


/* checkbox ui*/
.dropdownlist-item input[type="checkbox"] + label {
    display: inline-block;
    float: none;
    position: relative;
    text-align: left;
    width: auto;
    margin-right: 0;
    padding-left: 26px;
    font-weight: normal;
    padding-top: 8px;
    line-height: 26px;
    margin-bottom: 0;
    min-height: 26px;
}
       .dropdownlist-item input[type="checkbox"] + label:before {
            background-color: #fafafa;
            border: 1px solid #cacece;
            left: 0;
            width: 12px;
            height: 12px;
            float: left;
            content: "";
            cursor: pointer;
            margin-right: 0;
            top: 50%;
            margin-top: -6px;
            position: absolute;
        }

.dropdownlist-item input[type="checkbox"]:checked + label:before{
    background-color: #4b9bed;
    border: 0;
    color: #fff;
    content: '\e954';
    font-size: 16px;
    font-family: 'icomoon' !important;
    text-indent: -0.5px;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 0.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}